package com.htgd.gardenexpo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
public class GeConSocialContentVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "用户头像")
    private String url;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "话题id")
    private String topicId;

    @ApiModelProperty(value = "话题名称")
    private String topicName;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态文本")
    private String statusText;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime reviewTime;

    @ApiModelProperty(value = "发布类型('1':海报，'2':Vlog)")
    private String type;

    @ApiModelProperty(value = "发布类型文本")
    private String typeText;

    @ApiModelProperty(value = "图片路径")
    private String imgPath;

    @ApiModelProperty(value = "视频路径")
    private String videoPath;

    @ApiModelProperty(value = "排序(值越大越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNumber;

    @ApiModelProperty(value = "评论数")
    private Integer reviewNumber;

    @ApiModelProperty(value = "是否点赞(true:已点赞，false:未点赞)")
    private boolean likes;

    @ApiModelProperty(value = "讨论数")
    private Integer discussNumber;

    @ApiModelProperty(value = "运动id")
    private String sportsId;

    @ApiModelProperty(value = "运动类型")
    private String sportsType;

    @ApiModelProperty(value = "运动详情")
    private MyTaskDetails myTaskDetails;

}
